package com.whfc.ms.api.emp.service.impl;

import com.whfc.emp.param.AppEmpBroadcastParam;
import com.whfc.emp.service.AppHelmetService;
import com.whfc.ms.api.emp.service.MsAppBroadcastService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @ClasssName MsAppBroadcastServiceImpl
 * @Description 人员广播
 * @Author hw
 * @Date 2020/12/16 9:33
 * @Version 1.0
 */
@Service
public class MsAppBroadcastServiceImpl implements MsAppBroadcastService {

    @DubboReference(interfaceClass = AppHelmetService.class, version = "1.0.0")
    private AppHelmetService appHelmetService;

    @Override
    public void broadcast(AppEmpBroadcastParam request) {
        appHelmetService.broadcast(request);
    }

}
